<include file='Common:header'/>

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            &nbsp;
            <!--修改密码
            <small></small>-->
        </h1>
        <ol class="breadcrumb">
            <li><a href="{:U('Index/index')}"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li class="active">修改密码</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">

        <!-- START CUSTOM TABS -->
        <div class="row">
            <div class="col-xs-12">

                <!-- Custom Tabs -->
                <div class="nav-tabs-custom">

                    <ul class="nav nav-tabs">
                        <li><a href="{:U('Profile/profile')}">个人资料</a></li>
                        <li class="active"><a href="#tab_detail" data-toggle="tab">修改密码</a></li>
                        <li class="pull-right"><a href="#" class="text-muted"><i class="fa fa-gear"></i></a></li>
                    </ul>

                    <div class="tab-content">

                        <div class="tab-pane active" id="tab_detail">
                            <form role="form" method="post" action="{:U(ACTION_NAME)}">
                                <div style="width:100%;">
                                    <div class="box">
                                        <div class="box-body">
                                            <div class="col-md-6">
                                                <!-- general form elements -->
                                                <div class="box box-primary">
                                                    <!-- form start -->
                                                    <form role="form" method="post">
                                                        <div class="box-body">
                                                            <div class="form-group">
                                                                <label>帐户名</label>
                                                                <div>{$user.username}</div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label for="old_password">旧密码 </label>
                                                                <input type="password" placeholder="" id="old_password" name="old_password" class="form-control">
                                                            </div>
                                                            <div class="form-group">
                                                                <label for="new_password">新密码 </label>
                                                                <input type="password" placeholder="" id="new_password" name="new_password" class="form-control">
                                                            </div>
                                                            <div class="form-group">
                                                                <label for="re_password">确认密码 </label>
                                                                <input type="password" placeholder="" id="re_password" name="re_password" class="form-control">
                                                            </div>
                                                        </div><!-- /.box-body -->
                                                    </form>
                                                </div><!-- /.box -->
                                            </div>
                                        </div><!-- /.box-body -->
                                    </div><!-- /.box -->

                                    <div class="box-footer">
                                        <button class="btn btn-primary" type="submit">修改</button>
                                    </div>
                                </div>
                            </form>
                        </div><!-- /.tab-pane -->

                    </div><!-- /.tab-content -->

                </div><!-- nav-tabs-custom -->


            </div><!-- /.col -->

        </div> <!-- /.row -->
        <!-- END CUSTOM TABS -->

    </section><!-- /.content -->
</div><!-- /.content-wrapper -->


<include file='Common:footer'/>